﻿<?xml version="1.0" encoding="utf-8" ?>
<CounterSets>
  <GeneralProperties>
    <MachineAliases>
      <DefaultAliasSet>
        <Alias name="__SUT" machineList="'WEB01','WEB02','APP01','APP02','SQL01'" />
        <Alias name="__RIG" machineList="'Agent01','Agent02','Agent03'" />
        <Alias name="__WEB" machineList="'Web01','Web02'" />
        <Alias name="__APP" machineList="'App01','App02'" />
        <Alias name="__SQL" machineList="'SQL01'" />
        <Alias name="__CONTROLLER" machineList="'ControllerMachine'" />
      </DefaultAliasSet>

      <YourAliasSetHere>
        <Alias name="__SUT" machineList="'WEB01','WEB02','APP01','APP02','SQL01'" />
        <Alias name="__RIG" machineList="'Agent01','Agent02','Agent03'" />
        <Alias name="__WEB" machineList="'Web01','Web02'" />
        <Alias name="__APP" machineList="'App01','App02'" />
        <Alias name="__SQL" machineList="'SQL01'" />
        <Alias name="__CONTROLLER" machineList="'ControllerMachine'" />
      </YourAliasSetHere>
    </MachineAliases>

    <PlotColors>
      <item color="Red" />
      <item color="Blue" />
      <item color="Gray" />
      <item color="Orange" />
      <item color="Black" />
      <item color="Green" />
      <item color="DarkGreen" />
      <item color="DarkRed" />
      <item color="Magenta" />
      <item color="MediumBlue" />
    </PlotColors>

    <CellHighlighting>
      <CellThresholdValue1 value="0.01" />
      <CellThresholdValue2 value="0.1" />
      <CellThresholdValue3 value="1" />
      <CellThresholdValue4 value="10" />
      <CellHighlightColor1 color="Green" />
      <CellHighlightColor2 color="LightGreen" />
      <CellHighlightColor3 color="Yellow" />
      <CellHighlightColor4 color="Orange" />
      <CellHighlightColor5 color="Red" />
    </CellHighlighting>
  </GeneralProperties>
  
  <SingleRun>
    <KeyMetricsCounters>
      <!-- NOTE: This section is currently commented out because it is already included in the default report for a run. -->
      <counter name="Average Test Time" category="LoadTest:Test" counter="Avg. Test Time" instance="%" axisLabel="Seconds" fixedscale="false" enabled="true" chartType="1"/>
      <counter name="Average Transaction Time" category="LoadTest:Transaction" counter="Avg. Response Time" instance="%" axisLabel="Seconds" fixedscale="false" enabled="false" chartType="1"/>
      <counter name="Average Page Time" category="LoadTest:Page" counter="Avg. Page Time" instance="%" axisLabel="seconds" fixedscale="false" enabled="true" chartType="1"/>

      <counter name="Tests Per Second" category="LoadTest:Test" counter="Tests/Sec" instance="_Total" axisLabel="Qty" fixedscale="false" enabled="false" chartType="1"/>
      <counter name="Transactions Per Second" category="LoadTest:Transaction" counter="Transactions/Sec" instance="_Total" axisLabel="Qty" fixedscale="true" enabled="false" chartType="1"/>
      <counter name="Pages Per Second" category="LoadTest:Page" counter="Pages/Sec" instance="_Total" axisLabel="Qty" fixedscale="false" enabled="true" chartType="1"/>
      <counter name="Errors Per Second" category="LoadTest:Errors" counter="Errors/Sec" instance="%" axisLabel="seconds" fixedscale="false" enabled="false" chartType="1"/>

      <counter name="Total Pages" category="LoadTest:Page" counter="Total Pages" instance="_Total" axisLabel="Qty" fixedscale="false" enabled="false" chartType="1"/>
      <counter name="Total Transactions" category="LoadTest:Transaction" counter="Total Transactions" instance="_Total" axisLabel="Qty" fixedscale="false" enabled="false" chartType="1"/>
      <counter name="Total Tests" category="LoadTest:Test" counter="Total Tests" instance="_Total" axisLabel="Qty" fixedscale="false" enabled="false" chartType="1"/>
    </KeyMetricsCounters>

    <SutCounters>
      <counter name="Processor Utilization" category="Processor" counter="% Processor Time" instance="_Total" axisLabel="%" machineList="'LIMS13'" fixedscale="100" enabled="true" chartType="3"/>
      <counter name="Available MBytes" category="Memory" counter="Available MBytes" instance="" axisLabel="MB" machineList="__SUT" fixedscale="false" enabled="false" chartType="3"/>
      <counter name="Network Utilization" category="Network Interface" counter="Bytes Total/sec" instance="Microsoft Hyper-V Network Adapter _%" axisLabel="Bytes" machineList="__SUT" fixedscale="false" enabled="false" chartType="3"/>
    </SutCounters>

    <TestRigCounters>
      <counter name="Processor Utilization" category="Processor" counter="% Processor Time" instance="_Total" axisLabel="%" machineList="__RIG" fixedscale="100" enabled="false" chartType="3"/>
      <counter name="Available MBytes" category="Memory" counter="Available MBytes" instance="" axisLabel="MB" machineList="__RIG" fixedscale="false" enabled="false" chartType="3"/>
    </TestRigCounters>

    <ComboChartSets>
      <chart name="Key Indicators" enabled="true">
        <counter type="KeyMetricCounter" category="LoadTest:Page" counter="Pages/Sec" instance="_Total" fixedscale="false" enabled="true" chartType="1"/>
        <counter type="KeyMetricCounter" category="LoadTest:Page" counter="Avg. Page Time" instance="_Total" fixedscale="false" enabled="true" chartType="1"/>
        <counter type="KeyMetricCounter" category="LoadTest:Transaction" counter="Transactions/Sec" instance="_Total" enabled="false" fixedscale="false" chartType="1"/>
        <counter type="KeyMetricCounter" category="LoadTest:Transaction" counter="Avg. Transaction Time" instance="_Total" enabled="false" fixedscale="false" chartType="1"/>
      </chart>
      <chart name="Tests Vs Transactions" enabled="false">
        <counter type="KeyMetricCounter" category="LoadTest:Transaction" counter="Avg. Transaction Time" instance="_Total" enabled="true" fixedscale="false" chartType="1"/>
        <counter type="KeyMetricCounter" category="LoadTest:Test" counter="Avg. Test Time" instance="_Total" enabled="true" fixedscale="false" chartType="1"/>
      </chart>
    </ComboChartSets>
  </SingleRun>

  <RunComparison>
    <ScoreCardChartSets>
      <chart name="CPU vs. Page Throughput" enabled="true" template="Templates\Scorecard_ComboChart.xml">
        <counter type="ScoreCardColumnCounter" name="Web CPU" machine="LIMS13" columnToPlot="Avg" color="Silver" enabled="true"/>
        <counter type="ScoreCardColumnCounter" name="App CPU" machine="%APP%" columnToPlot="Avg" color="DarkSlateGray" enabled="false"/>
        <counter type="ScoreCardColumnCounter" name="SQL OLTP CPU" machine="%OLTP%" columnToPlot="Avg" color="LightSlateGray" enabled="false"/>
        <counter type="ScoreCardColumnCounter" name="Sql CPU" machine="LIMS14" columnToPlot="Avg" color="Gold" enabled="true"/>
        <counter type="ScoreCardLineCounter" name="Pages Per Second" columnToPlot="PagesSec_All" color="Coral" ShowGoal="true" Goal="200" HigherIsBetter="true" enabled="true"/>
      </chart>
      <chart name="CPU vs. Test Throughput" enabled="false" template="Templates\Scorecard_ComboChart.xml">
        <counter type="ScoreCardColumnCounter" name="Web CPU" machine="%WEB%" columnToPlot="Avg" color="Silver" enabled="true"/>
        <counter type="ScoreCardColumnCounter" name="SQL OLTP CPU" machine="%OLTP%" columnToPlot="Avg" color="LightSlateGray" enabled="false"/>
        <counter type="ScoreCardColumnCounter" name="Sql RPT CPU" machine="%RPT%" columnToPlot="Avg" color="Gold" enabled="true"/>
        <counter type="ScoreCardLineCounter" name="Average Page Time" columnToPlot="AvgPgT_All" color="Coral" ShowGoal="false" Goal="3.0" HigherIsBetter="true" enabled="true"/>
      </chart>
      <chart name="Rig Resources vs. Test Throughput" enabled="false" template="Templates\Scorecard_ComboChart.xml">
        <counter type="ScoreCardColumnCounter" name="Agent CPU" machine="%CL%" columnToPlot="Avg" color="Silver" enabled="true"/>
        <counter type="ScoreCardColumnCounter" name="CSRS CPU" machine="%CSRS%" columnToPlot="Avg" color="LightSlateGray" enabled="false"/>
        <counter type="ScoreCardColumnCounter" name="Controller CPU" machine="labac01" columnToPlot="Avg" color="Gold" enabled="true"/>
        <counter type="ScoreCardLineCounter" name="Tests Per Second" columnToPlot="TestsSec_All" color="Coral" ShowGoal="true" Goal="2.4" HigherIsBetter="true" enabled="true"/>
      </chart>
      <chart name="Memory Consumption" enabled="false" template="Templates\Scorecard_StackedChart.xml">
        <counter type="ScoreCardStackedColumnCounter" name="Web Available Memory" machine="%WEB%" color="Silver" enabled="false"/>
        <counter type="ScoreCardStackedColumnCounter" name="Sync Available Memory" machine="%SYNC%" color="LightSlateGray" enabled="true"/>
        <counter type="ScoreCardStackedColumnCounter" name="Sql Available Memory" machine="%SQL%" color="Gold" enabled="true"/>
      </chart>
    </ScoreCardChartSets>

    <ScoreCardGraphSets>
      <chart name="User Load" enabled="false" template="Templates\chartTemplateWithLegend.xml" title="User Load" axisLabel="Qty" machineList="'ControllerMachine'" category="LoadTest:Scenario" counter="User Load" instance="_Total" fixedscale="false"/>
      <chart name="Error Rate" enabled="false" template="Templates\chartTemplateWithLegend.xml" title="Error Rate" axisLabel="Qty" machineList="'ControllerMachine'" category="LoadTest:Errors" counter="Errors/Sec" instance="%" fixedscale="false"/>
      <chart name="Test Throughput" enabled="false" template="Templates\chartTemplateWithLegend.xml" title="Test Throughput" axisLabel="Qty" machineList="'ControllerMachine'" category="LoadTest:Test" counter="Tests/Sec" instance="_Total" fixedscale="false"/>
      <chart name="Page Throughput" enabled="false" template="Templates\chartTemplateWithLegend.xml" title="Page Throughput" axisLabel="Qty" machineList="'ControllerMachine'" category="LoadTest:Page" counter="Pages/Sec" instance="_Total" fixedscale="false"/>
      <chart name="Page Response Time" enabled="false" template="Templates\chartTemplateWithLegend.xml" title="Page Response Time" axisLabel="Qty" machineList="'ControllerMachine'" category="LoadTest:Page" counter="Avg. Page Time" instance="_Total" fixedscale="false"/>
      <chart name="App CPU Comparison" enabled="false" template="Templates\chartTemplateWithLegend.xml" title="Processor Comparison {0}" axisLabel="%" machineList="'LIMS13'" category="Processor" counter="% Processor Time" instance="_Total" fixedscale="100" />
      <chart name="SQL CPU Comparison" enabled="false" template="Templates\chartTemplateWithLegend.xml" title="Processor Comparison {0}" axisLabel="%" machineList="'LIMS14'" category="Processor" counter="% Processor Time" instance="_Total" fixedscale="100" />
      <chart name="App MEM Comparison" enabled="false" template="Templates\chartTemplateWithLegend.xml" title="Available MB Comparison {0}" axisLabel="MB" machineList="'LIMS13'" category="Memory" counter="Available MBytes" instance="" fixedscale="false"/>
      <chart name="SQL MEM Comparison" enabled="false" template="Templates\chartTemplateWithLegend.xml" title="Available MB Comparison {0}" axisLabel="MB" machineList="'LIMS14'" category="Memory" counter="Available MBytes" instance="" fixedscale="false"/>
      <chart name="Rig CPU Comparison" enabled="false" template="Templates\chartTemplateWithLegend.xml" title="Processor Comparison {0}" axisLabel="%" machineList="'ControllerMachine'" category="Processor" counter="% Processor Time" instance="_Total" fixedscale="100" />
      <chart name="Rig MEM Comparison" enabled="false" template="Templates\chartTemplateWithLegend.xml" title="Available MB Comparison {0}" axisLabel="MB" machineList="'ControllerMachine'" category="Memory" counter="Available MBytes" instance="" fixedscale="false"/>
      <chart name="% Time in Web Test Code" enabled="false" template="Templates\chartTemplateWithLegend.xml" title="% Time in Web Test Code {0}" axisLabel="%" machineList="'ControllerMachine'" category="LoadTest:Test" counter="% Time in WebTest code" instance="_Total" fixedscale="100"/>
    </ScoreCardGraphSets>
  </RunComparison>
</CounterSets>



